package com.sxt.springcloud.bus;

import com.sxt.bus.domain.Goodstype;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxt.springcloud.bus.fallback.GoodstypeClientFallbackService;
import com.sxt.sys.common.DataGridView;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2020-01-16
 */
@Component
@FeignClient(value = "SPRINGCLOUD-PROVIDER-BUS",fallbackFactory = GoodstypeClientFallbackService.class)
@RequestMapping("/p/goodstype")
public interface GoodstypeClientService  {
    /**
     * 查询
     */
    @RequestMapping("loadAllGoodstype")
     DataGridView loadAllGoodstype();


}
